#include "includes/OTHER_TYPES/ARRAY/CHAR/CHAR_ARR/CHAR_ARR.h"

int main(int argc, char * argv[])
{  
  CHECK_SYS_ENDIAN();
  char real1[20] = "10.123";
  char real2[20] = "---.123";
  char real3[20] = "+++.0001";
  char real4[20] = "863.9E123";
  char real5[20] = ".123e--+-+123";
  char real6[20] = "-0";
  char real7[20] = "9";
  
  printf("byte size: %llu, number 1: %f\n", check_chenc_arr_as_float(real1, 20),
                                            get_chenc_arr_as_float(real1, 20));
  printf("byte size: %llu, number 2: %f\n", check_chenc_arr_as_float(real2, 20),
                                            get_chenc_arr_as_float(real2, 20));
  printf("byte size: %llu, number 3: %f\n", check_chenc_arr_as_float(real3, 20),
                                            get_chenc_arr_as_float(real3, 20));
  printf("byte size: %llu, number 4: %e\n", check_chenc_arr_as_float(real4, 20),
                                            get_chenc_arr_as_float(real4, 20));
  printf("byte size: %llu, number 5: %e\n", check_chenc_arr_as_float(real5, 20),
                                            get_chenc_arr_as_float(real5, 20));
  printf("byte size: %llu, number 6: %f\n", check_chenc_arr_as_float(real6, 20),
                                            get_chenc_arr_as_float(real6, 20));
  printf("byte size: %llu, number 7: %f\n", check_chenc_arr_as_float(real7, 20),
                                            get_chenc_arr_as_float(real7, 20));
  
  return 0;
}
